home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Pyramid / README
Text File  |  1993-09-15  |  2KB  |  62 lines

  1. Pyramid.app
  2.  
  3. Pyramid grew out of a need to build some simple 3D graphics
  4. primitives for a project I was working on. The functions in
  5. matrix.subproj provide a basic mechanism for defining a 3D
  6. perspective transformation and mapping points from space onto
  7. a viewing plane. 
  8.  
  9. I wrote the pyramid model and viewer as a testbench to get
  10. visual feed back from the matrix routines. Any problems
  11. in  the math were *very* obvious as things spun around.
  12. Having completed pyramid, I added the kitchen model for
  13. my wife. Some time ago I had been helping her understand
  14. the basics  of perspective, and made various diagrams
  15. based on our kitchen. The crude diagrams didn't help
  16. much, and I decided to do a computer model, which would be
  17. accurate and dynamic. That never happened, of course,
  18. until I realized after writing  Pyramid that adding a
  19. kitchen model would be trivial. Watching the lines
  20. converge on the vanishing points along the horizon as the
  21. scene moves really makes the concept come alive. 
  22.  
  23. Though not complicated, it took a while to understand the
  24. math and get it right, and I hadn't seen anything similar
  25. on the net. I'm posting Pyramid and the matrix routines so
  26. that others may have some fun as well. 
  27.  
  28. Acknowledgements:
  29.     Thanks to Vince DeMarco for putting his
  30.     CircularSlider palette on the net!
  31.  
  32. Problems:
  33.     The hidden line algorithms are primitive. The moon will
  34.     occasionally peek through to the foreground. 
  35.     
  36.     The kitchen will fold inside out if you look at it from
  37.     funny angles. It's really only useful when viewed from 
  38.     one octant of the coordinate space. 
  39.  
  40. _______________________________________________________
  41. NeXTMail:Peter_Kron@corona.com
  42. Corona Design, Inc.
  43. P.O. Box 51022
  44. Seattle, WA 98115-1022
  45.  
  46. LEGAL NOTICE:
  47. This software is provided "as-is". In no event shall
  48. Corona Design, Inc. ("CORONA") be liable for any damages
  49. whatsoever (including, without limitation, damages
  50. for loss of business profits, business interruption,
  51. loss of business information, or any other pecuniary
  52. loss) arising out of the use of or inability to use this
  53. software, even if the CORONA has been advised of the
  54. possibility of such damages.  Because some states do not
  55. allow the exclusion or limitation of liability for
  56. consequential or incidental damages, the above
  57. limitation may not apply to you. 
  58.  
  59. THE ABOVE WARRANTY IS EXCLUSIVE AND IN LIEU OF ALL OTHER 
  60. WARRANTIES WHETHER EXPRESSED OR IMPLIED.
  61.  
  62.